<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>弹窗</title>
		<script type="text/javascript">
			// alert("123");
			function op() {
				prompt("输入框");
			}
			
			function op2() {
				document.write("123")
			}
			
			function op3() {
				var can = confirm("确定吗");
				console.log(can);
			}
		</script>
	</head>
	<body>
		<input type="button" value="点我-输入框" onclick="op()"/>
		<input type="button" value="点我-页面打印" onclick="op2()"/>
		<input type="button" value="点我-确定取消按钮" onclick="op3()"/>
	</body>
</html>